"use client"
import Link from "next/link";
import { useRouter } from "next/router";
import Canvas from "../components/Canvas";

export default function Home() {
    const router = useRouter();

    // 编程式导航示例
    const goToAbout = () => {
        router.push("/about"); // 客户端跳转
    };

    return (
        <div>
            <Canvas />
        </div>
    );
}
